home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / misc / man3801.lha / Man3.801 / Pages / Dir.man next >
Text File  |  1995-03-30  |  3KB  |  108 lines

  1.  
  2. NAME
  3.  
  4.     Dir
  5.  
  6.  
  7. FORMAT
  8.  
  9.     DIR [<dir|pattern>] [OPT A|I|AI|D|F] [ALL] [DIRS] [FILES] [INTER]
  10.  
  11.  
  12. PURPOSE
  13.  
  14.     To display a sorted list of the files in a directory.
  15.  
  16.  
  17. SPECIFICATION
  18.  
  19.     DIR displays the file and directory names contained in the specified
  20.     directory, or the current directory if no name is given.  Directories
  21.     are listed first, followed by an alphabetical list of the files in
  22.     two columns.  Pressing Ctrl-C aborts a directory listing.
  23.  
  24.  
  25. OPTIONS
  26.  
  27.     ALL        Displays all subdirectories and their files.
  28.     DIRS        Displays only directories.
  29.     FILES        Displays only files.
  30.     INTER        Enters an interactive mode.
  31.  
  32.     Note:      The ALL, DIRS, FILES and INTER keywords supersede the
  33.         OPT A, D, F and I options, respectively.  The older 
  34.         keywords are retained for compatibility with earlier
  35.         versions of AmigaDOS.  Do not use OPT with the full keywords
  36.         ALL, DIRS, FILES, INTER.
  37.  
  38.     The interactive listing mode stops after each name and displays a
  39.     question mark at which you can enter commands.  Responses are shown
  40.     below:
  41.     
  42.         Return        Displays the next name on the list.
  43.         E        Enters a directory; the files in that
  44.                 directory will be displayed.
  45.         B        Goes back one directory level.
  46.         DEL or DELETE    Deletes a file or empty directory.
  47.         T        Types the contents of a file.
  48.         C or COMMAND    Allows you to enter additional AmigaDOS
  49.                 commands.
  50.         Q        Quits interactive editing.
  51.         ?        Displays a list of the available
  52.                 interactive-mode commands.  
  53.  
  54.     The COMMAND option allows almost any AmigaDOS command to be executed
  55.     during the interactive directory list.  When you want to issue a
  56.     command, type C (or COM) at the question-mark prompt.  DIR will ask
  57.     you for the command.  Type the desired command, then press Return.
  58.     The command willbe executed and DIR will continue.  You can also combine
  59.     the C and the command on one line, by putting the command in quotes
  60.     following the C.
  61.  
  62.     For instance, C "type prefs.info HEX" is equivalent to pressing Q to
  63.     exit interactive listing mode and return to a regular Shell prompt and
  64.     typing: TYPE prefs.info HEX.
  65.     
  66.     Note:    It is dangerous to format a disk from the DIR interactive mode,
  67.         as the format will take place immediately, without any
  68.         confirmation requesters appearing.  Also, starting another
  69.         interactive DIR from interactive mode will result in garbled
  70.         output.
  71.  
  72.  
  73. EXAMPLES
  74.  
  75.     1> DIR Workbench2.0:
  76.     displays a list of the directories and files on the Workbench2.0 disk.
  77.  
  78.     1> DIR MyDisk:#?.memo
  79.     displays all the directories and files on MyDisk that end in .memo.
  80.  
  81.  
  82. BUGS
  83.  
  84.     NONE.
  85.  
  86.  
  87. AUTHOR
  88.  
  89.     Commodore Business Machines.  This program is provided with your Amiga 
  90.     Workbench disks.  It can be found in your C: directory.
  91.  
  92.  
  93. COPYRIGHT NOTICE
  94.  
  95.     This man page was written by:
  96.  
  97.     Markus Hillenbrand
  98.     Hauptstrasse 6
  99.     36124 Eichenzell-Loeschenrod
  100.     Germany
  101.     
  102.     E-mail: m_hillen@informatik.uni-kl.de
  103.  
  104.  
  105. SEE ALSO
  106.  
  107.     List (AmigaDOS), ls (UNIX-like)
  108.